﻿using System;
using System.Collections.Generic;
using System.Text;
using X.Security;

namespace X.Entity
{
    public class UserInfo : Nullable, IUser
    {
        private int m_UserId;
        private string m_LoginName;
        private byte[] m_Password;
        private string m_UserName;

        public UserInfo() { }
        public UserInfo(bool isNull) { base.IsNull = isNull; }

        public int UserId
        {
            get { return m_UserId; }
            set { m_UserId = value; }
        }

        public string LoginName
        {
            get { return m_LoginName; }
            set { m_LoginName = value; }
        }

        public byte[] Password
        {
            get { return m_Password; }
            set { m_Password = value; }
        }

        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; }
        }
    }
}
